package com.orange.util;

/**
 * Created by pengfei on 16/6/12.
 */
public class BizException extends Exception {
    private String msg;
    private int code;
    public BizException(String msg,int code){
        this.msg=msg;
        this.code=code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
